package cs536.staticSemantics.types;

class NullType extends Type {
	
    // Singleton pattern (see project description)
    private static NullType instance = new NullType();
    
    public static NullType make() {
        return instance;
    }

    public Object clone() throws CloneNotSupportedException {
        throw new CloneNotSupportedException();
    }


	@Override
	public int getSize() {
		return -1;
	}

	@Override
	public String getKind() {
		return "null";
	}
	
}